﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Web.Master" Inherits="System.Web.Mvc.ViewPage<MVCWeb.Models.TvModel>" %>


<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	ViewDisplays
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Narrow Search</h2>

    <%using (Html.BeginForm())
      { %>
        <%:Html.ValidationSummary(true)%>

    <fieldset>
    <p>Display:</p>
    <%= Html.DropDownList("MyDisplay")%>
    <p>Make:</p>
    <%= Html.DropDownList("MyMake")%>
    <p>Size:</p>
    <%= Html.DropDownList("MySize")%>

 <%-- %><%: Html.DropDownListFor(d => d.Display, Model.DisplayList) %> 
    <%: Html.ValidationMessageFor(d => d.Display) %>

    <%: Html.DropDownListFor(m => m.Make, Model.MakeList) %>
    <%: Html.ValidationMessageFor(m => m.Make) %>

    <%: Html.DropDownListFor(s => s.Size, Model.SizeList) %>
    <%: Html.ValidationMessageFor(s => s.Size) %>

    <%: Html.DropDownListFor(r => r.Refresh, Model.RefreshList) %>
    <%: Html.ValidationMessageFor(r => r.Refresh) %>

    <%: Html.DropDownListFor(e => e.Resolution, Model.ResolutionList) %>
    <%: Html.ValidationMessageFor(e => e.Resolution) %>

    <%: Html.DropDownListFor(h => h.Shipping, Model.ShippingList) %>
    <%: Html.ValidationMessageFor(h => h.Shipping) %> --%>
                <p>
                <input type="submit" value="Go!" />
            </p>
    </fieldset>
   <% }  %>


</asp:Content>